package com.f1ussh.serviceuser;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.f1ussh.serviceuser.mapper")
public class ServiceUserApplication {
    public static void main(String[] args) {
        // 设置Nacos连接超时
        System.setProperty("nacos.logging.default.config.enabled", "false");
        System.setProperty("nacos.server.addr.retry.timeout", "10000");

        SpringApplication.run(ServiceUserApplication.class, args);
    }
}